#include "p18cxxx.h"

//stepper motor pins
#define TRIS_S0 TRISBbits.TRISB1
#define TRIS_S1 TRISBbits.TRISB2
#define TRIS_S2 TRISBbits.TRISB3
#define TRIS_S3 TRISBbits.TRISB4

#define S0 LATBbits.LATB1
#define S1 LATBbits.LATB2
#define S2 LATBbits.LATB3
#define S3 LATBbits.LATB4

// DHT11 pins
#define TRIS_DHT TRISDbits.TRISD3    
#define DHT PORTDbits.RD3

// TEMP+
#define TRIS_TEMP_INC TRISDbits.TRISD2    
#define TEMP_INC PORTDbits.RD2

// TEMP-
#define TRIS_TEMP_DEC TRISDbits.TRISD0
#define TEMP_DEC PORTDbits.RD0

// MICROSW
#define TRIS_MICROSW TRISDbits.TRISD1    
#define MICROSW PORTDbits.RD1


// RELAY pin
#define TRIS_RELAY TRISBbits.TRISB5
#define RELAY LATBbits.LATB5